﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200142B RID: 5163
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainRefreshTimeNotify : IMessage<TrainRefreshTimeNotify>, IMessage, IEquatable<TrainRefreshTimeNotify>, IDeepCloneable<TrainRefreshTimeNotify>, IBufferMessage
	{
		// Token: 0x17004116 RID: 16662
		// (get) Token: 0x0600E728 RID: 59176 RVA: 0x0026A0C0 File Offset: 0x002682C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainRefreshTimeNotify> Parser
		{
			get
			{
				return TrainRefreshTimeNotify._parser;
			}
		}

		// Token: 0x17004117 RID: 16663
		// (get) Token: 0x0600E729 RID: 59177 RVA: 0x0026A0C7 File Offset: 0x002682C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainRefreshTimeNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004118 RID: 16664
		// (get) Token: 0x0600E72A RID: 59178 RVA: 0x0026A0D9 File Offset: 0x002682D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainRefreshTimeNotify.Descriptor;
			}
		}

		// Token: 0x0600E72B RID: 59179 RVA: 0x0026A0E0 File Offset: 0x002682E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainRefreshTimeNotify()
		{
		}

		// Token: 0x0600E72C RID: 59180 RVA: 0x0026A0E8 File Offset: 0x002682E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainRefreshTimeNotify(TrainRefreshTimeNotify other) : this()
		{
			this.refreshTimestampMs_ = other.refreshTimestampMs_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E72D RID: 59181 RVA: 0x0026A10D File Offset: 0x0026830D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainRefreshTimeNotify Clone()
		{
			return new TrainRefreshTimeNotify(this);
		}

		// Token: 0x17004119 RID: 16665
		// (get) Token: 0x0600E72E RID: 59182 RVA: 0x0026A115 File Offset: 0x00268315
		// (set) Token: 0x0600E72F RID: 59183 RVA: 0x0026A11D File Offset: 0x0026831D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong RefreshTimestampMs
		{
			get
			{
				return this.refreshTimestampMs_;
			}
			set
			{
				this.refreshTimestampMs_ = value;
			}
		}

		// Token: 0x0600E730 RID: 59184 RVA: 0x0026A126 File Offset: 0x00268326
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainRefreshTimeNotify);
		}

		// Token: 0x0600E731 RID: 59185 RVA: 0x0026A134 File Offset: 0x00268334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainRefreshTimeNotify other)
		{
			return other != null && (other == this || (this.RefreshTimestampMs == other.RefreshTimestampMs && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E732 RID: 59186 RVA: 0x0026A164 File Offset: 0x00268364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.RefreshTimestampMs != 0UL)
			{
				num ^= this.RefreshTimestampMs.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E733 RID: 59187 RVA: 0x0026A1A3 File Offset: 0x002683A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E734 RID: 59188 RVA: 0x0026A1AB File Offset: 0x002683AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E735 RID: 59189 RVA: 0x0026A1B4 File Offset: 0x002683B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RefreshTimestampMs != 0UL)
			{
				output.WriteRawTag(112);
				output.WriteUInt64(this.RefreshTimestampMs);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E736 RID: 59190 RVA: 0x0026A1E8 File Offset: 0x002683E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.RefreshTimestampMs != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.RefreshTimestampMs);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E737 RID: 59191 RVA: 0x0026A226 File Offset: 0x00268426
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainRefreshTimeNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.RefreshTimestampMs != 0UL)
			{
				this.RefreshTimestampMs = other.RefreshTimestampMs;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E738 RID: 59192 RVA: 0x0026A257 File Offset: 0x00268457
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E739 RID: 59193 RVA: 0x0026A260 File Offset: 0x00268460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.RefreshTimestampMs = input.ReadUInt64();
				}
			}
		}

		// Token: 0x04005B6C RID: 23404
		private static readonly MessageParser<TrainRefreshTimeNotify> _parser = new MessageParser<TrainRefreshTimeNotify>(() => new TrainRefreshTimeNotify());

		// Token: 0x04005B6D RID: 23405
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005B6E RID: 23406
		public const int RefreshTimestampMsFieldNumber = 14;

		// Token: 0x04005B6F RID: 23407
		private ulong refreshTimestampMs_;
	}
}
